﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllManufacturer
    {
        #region[Get-Data]
        public DataTable GetManufacturer(string keywords)
        {
            return DalManufacturer.GetManufacturer(keywords);
        }
        public DataTable GetManufacturerEdit(int id)
        {
            return DalManufacturer.GetManufacturerEdit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtManufacturer obj)
        {
            return DalManufacturer.Insert(obj);
        }
        public static bool Update(EtManufacturer obj)
        {
            return DalManufacturer.Update(obj);
        }
        public static bool Delete(EtManufacturer obj)
        {
            return DalManufacturer.Delete(obj);
        }
        #endregion
    }
}